.portfolio {
  margin: 0 auto;
  max-width: 1140px;
}

.portfolio__title {
  margin: 0;
  color: #a0a0a0;
  font-feature-settings: "clig" off, "liga" off;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.portfolio__list {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.portfolio__list-item {
  margin: 20px 0 0;
  list-style: none;
  padding-bottom: 10px;
  border-bottom: solid 1px #e8e8e8;
  transition: 0.2s ease-in;
}

.portfolio__list-link {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-decoration: none;
  
}

.portfolio__list-item:hover {
  opacity: 0.6;
}

.portfolio__list-item:last-child {
  padding-bottom: 112px;
  border-bottom: none;
}

.portfolio__item-title {
  margin: 0;
  color: #000;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: -1.2px;
}

.portfolio__item-icon {
  margin: 0;
  color: #000;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px;

  letter-spacing: -1.2px;
}

@media screen and (max-width: 969px) {
  .portfolio {
    padding: 0 50px;
  }

  .portfolio__item-title {
    font-size: 28px;
  }

  .portfolio__list-item:last-child {
    padding-bottom: 72px;
  }
  .portfolio__list-item {
    padding: 0;
    height: 68px;
  }
}

@media screen and (max-width: 500px) {
  .portfolio {
    padding: 0 14px;
  }

  .portfolio__title {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
  }

  .portfolio__item-title {
    font-size: 18px;
    letter-spacing: -1px;
    line-height: 28px;
    letter-spacing: -0.72px;
  }

  .portfolio__list {
    margin: 40px auto 0;
  }

  .portfolio__list-item {
    height: 48px;
  }

  .portfolio__item-icon {
    font-size: 18px;
    line-height: 28px;
  }

  .portfolio__list-item:first-child {
    margin: 0;
  }
  .portfolio__list-item:last-child {
    padding-bottom: 50px;
  }
}
